Groundhogg\Preferences A

Total Complexity 63
Dependencies 3
Dependents 32
Total lines 415
Lines of code 224
Logical lines of code 127
Comment lines 119
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
get_optin_status_text()
A
44 16 43
is_marketable()
A
45 16 39
current_contact_can_modify_preferences()
S
56 4 18
template_include()
S
59 4 15
string_to_preference()
S
50 2 31
is_in_grace_period()
S
60 3 13
sanitize()
S
77 3 3
is_gdpr_strict()
S
79 2 3
set_temp_preferences_permissions_cookie()
S
63 2 10
get_grace_period_cutoff_date()
S
66 2 8
get_preference_names()
S
60 1 12
get_grace_period()
S
79 1 3
is_confirmation_strict()
S
80 1 3
__construct()
S
72 1 5
is_gdpr_enabled()
S
80 1 3
is_valid()
S
78 1 3
add_query_vars()
S
74 1 5
add_rewrite_rules()
S
75 1 4
get_preference_pretty_name()
S
78 1 3